// 引入页面
import WorkBench from "@pages/WorkBench" // 工作台
import Goods from "@pages/Goods" // 商品
import GoodsAdmain from "@pages/Goods/children/GoodsAdmain"
import GoodsClassification from "@pages/Goods/children/GoodsClassification"
import Specifications from "@pages/Goods/children/Specifications"
import GoodsEvaluate from "@pages/Goods/children/GoodsEvaluate"

import Marketing from "../pages/Marketing" // 秒杀
import SeckillAdmin from "../pages/Marketing/children/SeckillAdmin"
import BargainAdmin from "../pages/Marketing/children/BargainAdmin"
import LiveAdmin from "../pages/Marketing/children/LiveAdmin"
import GroupAdmin from "../pages/Marketing/children/GroupAdmin"
import SeckillConfigure from "../pages/Marketing/children/BargainAdmin/children/SeckillConfigure"
import SeckillGoods from "../pages/Marketing/children/BargainAdmin/children/SeckillGoods"




const meauList = [{
        path: "/main/WorkBench",
        component: WorkBench,
        name: "工作台"
    },
    {
        title: "商品",
        path: "/main/goods",
        component: Goods,
        children: [{
                path: "/main/goods/goodsAdmain",
                component: GoodsAdmain,
                name: "商品管理",
            },
            {
                path: "/main/goods/goodsClassification",
                component: GoodsClassification,
                name: "商品分类",
            },
            {
                path: "/main/goods/Specifications",
                component: Specifications,
                name: "商品规格",
            },
            {
                path: "/main/goods/GoodsEvaluate",
                component: GoodsEvaluate,
                name: "商品评价",
            },
        ],
    },
    {
        title: "营销",
        path: "/main/Marketing",
        component: Marketing,
        children: [{
                path: "/main/seckillAdmin",
                component: SeckillAdmin,
                name: "秒杀管理",
                children: [{
                        path: "/main/Marketing/seckillAdmin/seckillConfigure",
                        component: SeckillConfigure,
                        name: "秒杀配置",
                    },
                    {
                        path: "/main/Marketing/seckillAdmin/seckillGoods",
                        component: SeckillGoods,
                        name: "秒杀商品",
                    },
                ]
            },
            {
                path: "/main/Marketing/bargainAdmin",
                component: BargainAdmin,
                name: "砍价管理",
            },
            {
                path: "/main/Marketing/liveAdmin",
                component: LiveAdmin,
                name: "直播管理",
            },
            {
                path: "/main/Marketing/groupAdmin",
                component: GroupAdmin,
                name: "拼团管理",
            },
        ],
    },
];


export default meauList



/* {
        title: "营销",
        icon: < LineChartOutlined / > ,
    },
    {
        title: "订单",
        icon: < SkinOutlined / > ,
    },
    {
        title: "团长",
        icon: < LineChartOutlined / > ,
    },
    {
        title: "门店",
        icon: < SkinOutlined / > ,
    },
    {
        title: "仓库",
        icon: < LineChartOutlined / > ,
    },
    {
        title: "分销",
        icon: < SkinOutlined / > ,
    },
    {
        title: "小程序",
        icon: < LineChartOutlined / > ,
    }, */